// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, putRequest, postBodyRequest, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';

// 分页获取数据
export const getWhereManageList = params => {
    return postRequest('/whereManage/getByPage', params);
};
// 添加
export const addWhereManage = params => {
    return postRequest('/whereManage/insertOrUpdate', params);
};
// 编辑
export const editWhereManage = params => {
    return postRequest('/whereManage/insertOrUpdate', params);
};
// 删除
export const deleteWhereManage = params => {
    return postRequest('/whereManage/delByIds', params);
};
// 编辑
export const getVersions = params => {
    return postRequest('/whereManage/getVersions', params);
};
